3.175 \(\int \frac {(a+b \tanh ^{-1}(\frac {c}{x^2}))^2}{x^5} \, dx\)

Optimal. Leaf size=97 \[ \frac {\left (a+b \coth ^{-1}\left (\frac {x^2}{c}\right )\right )^2}{4 c^2}-\frac {a b}{2 c x^2}-\frac {\left (a+b \coth ^{-1}\left (\frac {x^2}{c}\right )\right )^2}{4 x^4}-\frac {b^2 \log \left (1-\frac {c^2}{x^4}\right )}{4 c^2}-\frac {b^2 \coth ^{-1}\left (\frac {x^2}{c}\right )}{2 c x^2} \]

[Out]

-1/2*a*b/c/x^2-1/2*b^2*arccoth(x^2/c)/c/x^2+1/4*(a+b*arccoth(x^2/c))^2/c^2-1/4*(a+b*arccoth(x^2/c))^2/x^4-1/4*
b^2*ln(1-c^2/x^4)/c^2

________________________________________________________________________________________

Rubi [C]  time = 1.53, antiderivative size = 770, normalized size of antiderivative = 7.94, number of steps used = 67, number of rules used = 23, integrand size = 16, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 1.438, Rules used = {6099, 2454, 2401, 2389, 2296, 2295, 2390, 2305, 2304, 2395, 43, 6742, 30, 2557, 12, 2466, 2462, 260, 2416, 2394, 2315, 2393, 2391} \[ \frac {b^2 \text {PolyLog}\left (2,-\frac {c}{x^2}\right )}{8 c^2}+\frac {b^2 \text {PolyLog}\left (2,\frac {c}{x^2}\right )}{8 c^2}+\frac {b^2 \text {PolyLog}\left (2,\frac {c-x^2}{2 c}\right )}{8 c^2}+\frac {b^2 \text {PolyLog}\left (2,\frac {c+x^2}{2 c}\right )}{8 c^2}-\frac {b^2 \text {PolyLog}\left (2,\frac {c+x^2}{c}\right )}{8 c^2}-\frac {b^2 \text {PolyLog}\left (2,1-\frac {x^2}{c}\right )}{8 c^2}-\frac {b \left (1-\frac {c}{x^2}\right )^2 \left (2 a-b \log \left (1-\frac {c}{x^2}\right )\right )}{16 c^2}+\frac {a b \log \left (\frac {c+x^2}{x^2}\right )}{4 c^2}-\frac {\left (1-\frac {c}{x^2}\right )^2 \left (2 a-b \log \left (1-\frac {c}{x^2}\right )\right )^2}{16 c^2}+\frac {\left (1-\frac {c}{x^2}\right ) \left (2 a-b \log \left (1-\frac {c}{x^2}\right )\right )^2}{8 c^2}-\frac {3 a b}{4 c x^2}-\frac {a b \log \left (\frac {c+x^2}{x^2}\right )}{4 x^4}+\frac {a b}{8 x^4}-\frac {b^2 \left (1-\frac {c}{x^2}\right )^2}{32 c^2}-\frac {b^2 \left (\frac {c}{x^2}+1\right )^2}{32 c^2}-\frac {b^2 \left (\frac {c}{x^2}+1\right )^2 \log ^2\left (\frac {c}{x^2}+1\right )}{16 c^2}+\frac {b^2 \left (\frac {c}{x^2}+1\right ) \log ^2\left (\frac {c}{x^2}+1\right )}{8 c^2}-\frac {3 b^2 \left (1-\frac {c}{x^2}\right ) \log \left (1-\frac {c}{x^2}\right )}{8 c^2}+\frac {b^2 \log \left (1-\frac {c}{x^2}\right )}{16 c^2}+\frac {b^2 \left (\frac {c}{x^2}+1\right )^2 \log \left (\frac {c}{x^2}+1\right )}{16 c^2}-\frac {b^2 \left (\frac {c}{x^2}+1\right ) \log \left (\frac {c}{x^2}+1\right )}{4 c^2}-\frac {b^2 \log \left (\frac {c}{x^2}+1\right ) \log \left (c-x^2\right )}{8 c^2}-\frac {b^2 \log \left (\frac {x^2}{c}\right ) \log \left (c-x^2\right )}{8 c^2}-\frac {b^2 \log \left (1-\frac {c}{x^2}\right ) \log \left (c+x^2\right )}{8 c^2}-\frac {b^2 \log \left (-\frac {x^2}{c}\right ) \log \left (c+x^2\right )}{8 c^2}+\frac {b^2 \log \left (\frac {c-x^2}{2 c}\right ) \log \left (c+x^2\right )}{8 c^2}+\frac {b^2 \log \left (c-x^2\right ) \log \left (\frac {c+x^2}{2 c}\right )}{8 c^2}-\frac {b^2 \left (\frac {c}{x^2}+1\right ) \log \left (\frac {c+x^2}{x^2}\right )}{8 c^2}+\frac {b^2 \log \left (\frac {c+x^2}{x^2}\right )}{16 c^2}-\frac {b^2 \log \left (1-\frac {c}{x^2}\right )}{16 x^4}+\frac {b^2 \log \left (1-\frac {c}{x^2}\right ) \log \left (\frac {c}{x^2}+1\right )}{8 x^4}-\frac {b^2 \log \left (\frac {c+x^2}{x^2}\right )}{16 x^4}+\frac {b^2}{16 x^4} \]

Warning: Unable to verify antiderivative.

[In]

Int[(a + b*ArcTanh[c/x^2])^2/x^5,x]

[Out]

-(b^2*(1 - c/x^2)^2)/(32*c^2) - (b^2*(1 + c/x^2)^2)/(32*c^2) + (a*b)/(8*x^4) + b^2/(16*x^4) - (3*a*b)/(4*c*x^2
) + (b^2*Log[1 - c/x^2])/(16*c^2) - (3*b^2*(1 - c/x^2)*Log[1 - c/x^2])/(8*c^2) - (b^2*Log[1 - c/x^2])/(16*x^4)
 - (b*(1 - c/x^2)^2*(2*a - b*Log[1 - c/x^2]))/(16*c^2) + ((1 - c/x^2)*(2*a - b*Log[1 - c/x^2])^2)/(8*c^2) - ((
1 - c/x^2)^2*(2*a - b*Log[1 - c/x^2])^2)/(16*c^2) - (b^2*(1 + c/x^2)*Log[1 + c/x^2])/(4*c^2) + (b^2*(1 + c/x^2
)^2*Log[1 + c/x^2])/(16*c^2) + (b^2*Log[1 - c/x^2]*Log[1 + c/x^2])/(8*x^4) + (b^2*(1 + c/x^2)*Log[1 + c/x^2]^2
)/(8*c^2) - (b^2*(1 + c/x^2)^2*Log[1 + c/x^2]^2)/(16*c^2) - (b^2*Log[1 + c/x^2]*Log[c - x^2])/(8*c^2) - (b^2*L
og[x^2/c]*Log[c - x^2])/(8*c^2) - (b^2*Log[1 - c/x^2]*Log[c + x^2])/(8*c^2) - (b^2*Log[-(x^2/c)]*Log[c + x^2])
/(8*c^2) + (b^2*Log[(c - x^2)/(2*c)]*Log[c + x^2])/(8*c^2) + (b^2*Log[c - x^2]*Log[(c + x^2)/(2*c)])/(8*c^2) +
 (a*b*Log[(c + x^2)/x^2])/(4*c^2) + (b^2*Log[(c + x^2)/x^2])/(16*c^2) - (b^2*(1 + c/x^2)*Log[(c + x^2)/x^2])/(
8*c^2) - (a*b*Log[(c + x^2)/x^2])/(4*x^4) - (b^2*Log[(c + x^2)/x^2])/(16*x^4) + (b^2*PolyLog[2, -(c/x^2)])/(8*
c^2) + (b^2*PolyLog[2, c/x^2])/(8*c^2) + (b^2*PolyLog[2, (c - x^2)/(2*c)])/(8*c^2) + (b^2*PolyLog[2, (c + x^2)
/(2*c)])/(8*c^2) - (b^2*PolyLog[2, (c + x^2)/c])/(8*c^2) - (b^2*PolyLog[2, 1 - x^2/c])/(8*c^2)

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 30

Int[(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)/(m + 1), x] /; FreeQ[m, x] && NeQ[m, -1]

Rule 43

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d
*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0]
&& LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])

Rule 260

Int[(x_)^(m_.)/((a_) + (b_.)*(x_)^(n_)), x_Symbol] :> Simp[Log[RemoveContent[a + b*x^n, x]]/(b*n), x] /; FreeQ
[{a, b, m, n}, x] && EqQ[m, n - 1]

Rule 2295

Int[Log[(c_.)*(x_)^(n_.)], x_Symbol] :> Simp[x*Log[c*x^n], x] - Simp[n*x, x] /; FreeQ[{c, n}, x]

Rule 2296

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.), x_Symbol] :> Simp[x*(a + b*Log[c*x^n])^p, x] - Dist[b*n*p, In
t[(a + b*Log[c*x^n])^(p - 1), x], x] /; FreeQ[{a, b, c, n}, x] && GtQ[p, 0] && IntegerQ[2*p]

Rule 2304

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))*((d_.)*(x_))^(m_.), x_Symbol] :> Simp[((d*x)^(m + 1)*(a + b*Log[c*x^
n]))/(d*(m + 1)), x] - Simp[(b*n*(d*x)^(m + 1))/(d*(m + 1)^2), x] /; FreeQ[{a, b, c, d, m, n}, x] && NeQ[m, -1
]

Rule 2305

Int[((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.)*((d_.)*(x_))^(m_.), x_Symbol] :> Simp[((d*x)^(m + 1)*(a + b*Lo
g[c*x^n])^p)/(d*(m + 1)), x] - Dist[(b*n*p)/(m + 1), Int[(d*x)^m*(a + b*Log[c*x^n])^(p - 1), x], x] /; FreeQ[{
a, b, c, d, m, n}, x] && NeQ[m, -1] && GtQ[p, 0]

Rule 2315

Int[Log[(c_.)*(x_)]/((d_) + (e_.)*(x_)), x_Symbol] :> -Simp[PolyLog[2, 1 - c*x]/e, x] /; FreeQ[{c, d, e}, x] &
& EqQ[e + c*d, 0]

Rule 2389

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))^(p_.), x_Symbol] :> Dist[1/e, Subst[Int[(a + b*Log[c*
x^n])^p, x], x, d + e*x], x] /; FreeQ[{a, b, c, d, e, n, p}, x]

Rule 2390

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))^(p_.)*((f_) + (g_.)*(x_))^(q_.), x_Symbol] :> Dist[1/
e, Subst[Int[((f*x)/d)^q*(a + b*Log[c*x^n])^p, x], x, d + e*x], x] /; FreeQ[{a, b, c, d, e, f, g, n, p, q}, x]
 && EqQ[e*f - d*g, 0]

Rule 2391

Int[Log[(c_.)*((d_) + (e_.)*(x_)^(n_.))]/(x_), x_Symbol] :> -Simp[PolyLog[2, -(c*e*x^n)]/n, x] /; FreeQ[{c, d,
 e, n}, x] && EqQ[c*d, 1]

Rule 2393

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))]*(b_.))/((f_.) + (g_.)*(x_)), x_Symbol] :> Dist[1/g, Subst[Int[(a +
 b*Log[1 + (c*e*x)/g])/x, x], x, f + g*x], x] /; FreeQ[{a, b, c, d, e, f, g}, x] && NeQ[e*f - d*g, 0] && EqQ[g
 + c*(e*f - d*g), 0]

Rule 2394

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))/((f_.) + (g_.)*(x_)), x_Symbol] :> Simp[(Log[(e*(f +
g*x))/(e*f - d*g)]*(a + b*Log[c*(d + e*x)^n]))/g, x] - Dist[(b*e*n)/g, Int[Log[(e*(f + g*x))/(e*f - d*g)]/(d +
 e*x), x], x] /; FreeQ[{a, b, c, d, e, f, g, n}, x] && NeQ[e*f - d*g, 0]

Rule 2395

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))*((f_.) + (g_.)*(x_))^(q_.), x_Symbol] :> Simp[((f + g
*x)^(q + 1)*(a + b*Log[c*(d + e*x)^n]))/(g*(q + 1)), x] - Dist[(b*e*n)/(g*(q + 1)), Int[(f + g*x)^(q + 1)/(d +
 e*x), x], x] /; FreeQ[{a, b, c, d, e, f, g, n, q}, x] && NeQ[e*f - d*g, 0] && NeQ[q, -1]

Rule 2401

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))^(p_)*((f_.) + (g_.)*(x_))^(q_.), x_Symbol] :> Int[Exp
andIntegrand[(f + g*x)^q*(a + b*Log[c*(d + e*x)^n])^p, x], x] /; FreeQ[{a, b, c, d, e, f, g, n, p}, x] && NeQ[
e*f - d*g, 0] && IGtQ[q, 0]

Rule 2416

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))^(p_.)*((h_.)*(x_))^(m_.)*((f_) + (g_.)*(x_)^(r_.))^(q
_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*Log[c*(d + e*x)^n])^p, (h*x)^m*(f + g*x^r)^q, x], x] /; FreeQ[{a,
 b, c, d, e, f, g, h, m, n, p, q, r}, x] && IntegerQ[m] && IntegerQ[q]

Rule 2454

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)]*(b_.))^(q_.)*(x_)^(m_.), x_Symbol] :> Dist[1/n, Subst[I
nt[x^(Simplify[(m + 1)/n] - 1)*(a + b*Log[c*(d + e*x)^p])^q, x], x, x^n], x] /; FreeQ[{a, b, c, d, e, m, n, p,
 q}, x] && IntegerQ[Simplify[(m + 1)/n]] && (GtQ[(m + 1)/n, 0] || IGtQ[q, 0]) &&  !(EqQ[q, 1] && ILtQ[n, 0] &&
 IGtQ[m, 0])

Rule 2462

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)]*(b_.))/((f_.) + (g_.)*(x_)), x_Symbol] :> Simp[(Log[f +
 g*x]*(a + b*Log[c*(d + e*x^n)^p]))/g, x] - Dist[(b*e*n*p)/g, Int[(x^(n - 1)*Log[f + g*x])/(d + e*x^n), x], x]
 /; FreeQ[{a, b, c, d, e, f, g, n, p}, x] && RationalQ[n]

Rule 2466

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)]*(b_.))^(q_.)*(x_)^(m_.)*((f_.) + (g_.)*(x_))^(r_.), x_S
ymbol] :> Int[ExpandIntegrand[(a + b*Log[c*(d + e*x^n)^p])^q, x^m*(f + g*x)^r, x], x] /; FreeQ[{a, b, c, d, e,
 f, g, n, p, q}, x] && IntegerQ[m] && IntegerQ[r]

Rule 2557

Int[Log[v_]*Log[w_]*(u_), x_Symbol] :> With[{z = IntHide[u, x]}, Dist[Log[v]*Log[w], z, x] + (-Int[SimplifyInt
egrand[(z*Log[w]*D[v, x])/v, x], x] - Int[SimplifyIntegrand[(z*Log[v]*D[w, x])/w, x], x]) /; InverseFunctionFr
eeQ[z, x]] /; InverseFunctionFreeQ[v, x] && InverseFunctionFreeQ[w, x]

Rule 6099

Int[((a_.) + ArcTanh[(c_.)*(x_)^(n_)]*(b_.))^(p_.)*((d_.)*(x_))^(m_.), x_Symbol] :> Int[ExpandIntegrand[(d*x)^
m*(a + (b*Log[1 + c*x^n])/2 - (b*Log[1 - c*x^n])/2)^p, x], x] /; FreeQ[{a, b, c, d, m, n}, x] && IGtQ[p, 0] &&
 IntegerQ[m] && IntegerQ[n]

Rule 6742

Int[u_, x_Symbol] :> With[{v = ExpandIntegrand[u, x]}, Int[v, x] /; SumQ[v]]

Rubi steps

\begin {align*} \int \frac {\left (a+b \tanh ^{-1}\left (\frac {c}{x^2}\right )\right )^2}{x^5} \, dx &=\int \left (\frac {\left (2 a-b \log \left (1-\frac {c}{x^2}\right )\right )^2}{4 x^5}-\frac {b \left (-2 a+b \log \left (1-\frac {c}{x^2}\right )\right ) \log \left (1+\frac {c}{x^2}\right )}{2 x^5}+\frac {b^2 \log ^2\left (1+\frac {c}{x^2}\right )}{4 x^5}\right ) \, dx\\ &=\frac {1}{4} \int \frac {\left (2 a-b \log \left (1-\frac {c}{x^2}\right )\right )^2}{x^5} \, dx-\frac {1}{2} b \int \frac {\left (-2 a+b \log \left (1-\frac {c}{x^2}\right )\right ) \log \left (1+\frac {c}{x^2}\right )}{x^5} \, dx+\frac {1}{4} b^2 \int \frac {\log ^2\left (1+\frac {c}{x^2}\right )}{x^5} \, dx\\ &=-\left (\frac {1}{8} \operatorname {Subst}\left (\int x (2 a-b \log (1-c x))^2 \, dx,x,\frac {1}{x^2}\right )\right )-\frac {1}{4} b \operatorname {Subst}\left (\int \frac {\left (-2 a+b \log \left (1-\frac {c}{x}\right )\right ) \log \left (1+\frac {c}{x}\right )}{x^3} \, dx,x,x^2\right )-\frac {1}{8} b^2 \operatorname {Subst}\left (\int x \log ^2(1+c x) \, dx,x,\frac {1}{x^2}\right )\\ &=-\left (\frac {1}{8} \operatorname {Subst}\left (\int \left (\frac {(2 a-b \log (1-c x))^2}{c}-\frac {(1-c x) (2 a-b \log (1-c x))^2}{c}\right ) \, dx,x,\frac {1}{x^2}\right )\right )-\frac {1}{4} b \operatorname {Subst}\left (\int \left (-\frac {2 a \log \left (1+\frac {c}{x}\right )}{x^3}+\frac {b \log \left (1-\frac {c}{x}\right ) \log \left (1+\frac {c}{x}\right )}{x^3}\right ) \, dx,x,x^2\right )-\frac {1}{8} b^2 \operatorname {Subst}\left (\int \left (-\frac {\log ^2(1+c x)}{c}+\frac {(1+c x) \log ^2(1+c x)}{c}\right ) \, dx,x,\frac {1}{x^2}\right )\\ &=\frac {1}{2} (a b) \operatorname {Subst}\left (\int \frac {\log \left (1+\frac {c}{x}\right )}{x^3} \, dx,x,x^2\right )-\frac {1}{4} b^2 \operatorname {Subst}\left (\int \frac {\log \left (1-\frac {c}{x}\right ) \log \left (1+\frac {c}{x}\right )}{x^3} \, dx,x,x^2\right )-\frac {\operatorname {Subst}\left (\int (2 a-b \log (1-c x))^2 \, dx,x,\frac {1}{x^2}\right )}{8 c}+\frac {\operatorname {Subst}\left (\int (1-c x) (2 a-b \log (1-c x))^2 \, dx,x,\frac {1}{x^2}\right )}{8 c}+\frac {b^2 \operatorname {Subst}\left (\int \log ^2(1+c x) \, dx,x,\frac {1}{x^2}\right )}{8 c}-\frac {b^2 \operatorname {Subst}\left (\int (1+c x) \log ^2(1+c x) \, dx,x,\frac {1}{x^2}\right )}{8 c}\\ &=\frac {b^2 \log \left (1-\frac {c}{x^2}\right ) \log \left (1+\frac {c}{x^2}\right )}{8 x^4}-\frac {1}{2} (a b) \operatorname {Subst}\left (\int x \log (1+c x) \, dx,x,\frac {1}{x^2}\right )+\frac {1}{4} b^2 \operatorname {Subst}\left (\int \frac {c \log \left (1-\frac {c}{x}\right )}{2 x^3 (c+x)} \, dx,x,x^2\right )+\frac {1}{4} b^2 \operatorname {Subst}\left (\int \frac {c \log \left (1+\frac {c}{x}\right )}{(2 c-2 x) x^3} \, dx,x,x^2\right )+\frac {\operatorname {Subst}\left (\int (2 a-b \log (x))^2 \, dx,x,1-\frac {c}{x^2}\right )}{8 c^2}-\frac {\operatorname {Subst}\left (\int x (2 a-b \log (x))^2 \, dx,x,1-\frac {c}{x^2}\right )}{8 c^2}+\frac {b^2 \operatorname {Subst}\left (\int \log ^2(x) \, dx,x,1+\frac {c}{x^2}\right )}{8 c^2}-\frac {b^2 \operatorname {Subst}\left (\int x \log ^2(x) \, dx,x,1+\frac {c}{x^2}\right )}{8 c^2}\\ &=\frac {\left (1-\frac {c}{x^2}\right ) \left (2 a-b \log \left (1-\frac {c}{x^2}\right )\right )^2}{8 c^2}-\frac {\left (1-\frac {c}{x^2}\right )^2 \left (2 a-b \log \left (1-\frac {c}{x^2}\right )\right )^2}{16 c^2}-\frac {a b \log \left (1+\frac {c}{x^2}\right )}{4 x^4}+\frac {b^2 \log \left (1-\frac {c}{x^2}\right ) \log \left (1+\frac {c}{x^2}\right )}{8 x^4}+\frac {b^2 \left (1+\frac {c}{x^2}\right ) \log ^2\left (1+\frac {c}{x^2}\right )}{8 c^2}-\frac {b^2 \left (1+\frac {c}{x^2}\right )^2 \log ^2\left (1+\frac {c}{x^2}\right )}{16 c^2}-\frac {b \operatorname {Subst}\left (\int x (2 a-b \log (x)) \, dx,x,1-\frac {c}{x^2}\right )}{8 c^2}+\frac {b \operatorname {Subst}\left (\int (2 a-b \log (x)) \, dx,x,1-\frac {c}{x^2}\right )}{4 c^2}+\frac {b^2 \operatorname {Subst}\left (\int x \log (x) \, dx,x,1+\frac {c}{x^2}\right )}{8 c^2}-\frac {b^2 \operatorname {Subst}\left (\int \log (x) \, dx,x,1+\frac {c}{x^2}\right )}{4 c^2}+\frac {1}{4} (a b c) \operatorname {Subst}\left (\int \frac {x^2}{1+c x} \, dx,x,\frac {1}{x^2}\right )+\frac {1}{8} \left (b^2 c\right ) \operatorname {Subst}\left (\int \frac {\log \left (1-\frac {c}{x}\right )}{x^3 (c+x)} \, dx,x,x^2\right )+\frac {1}{4} \left (b^2 c\right ) \operatorname {Subst}\left (\int \frac {\log \left (1+\frac {c}{x}\right )}{(2 c-2 x) x^3} \, dx,x,x^2\right )\\ &=-\frac {b^2 \left (1-\frac {c}{x^2}\right )^2}{32 c^2}-\frac {b^2 \left (1+\frac {c}{x^2}\right )^2}{32 c^2}-\frac {a b}{2 c x^2}+\frac {b^2}{4 c x^2}-\frac {b \left (1-\frac {c}{x^2}\right )^2 \left (2 a-b \log \left (1-\frac {c}{x^2}\right )\right )}{16 c^2}+\frac {\left (1-\frac {c}{x^2}\right ) \left (2 a-b \log \left (1-\frac {c}{x^2}\right )\right )^2}{8 c^2}-\frac {\left (1-\frac {c}{x^2}\right )^2 \left (2 a-b \log \left (1-\frac {c}{x^2}\right )\right )^2}{16 c^2}-\frac {b^2 \left (1+\frac {c}{x^2}\right ) \log \left (1+\frac {c}{x^2}\right )}{4 c^2}+\frac {b^2 \left (1+\frac {c}{x^2}\right )^2 \log \left (1+\frac {c}{x^2}\right )}{16 c^2}-\frac {a b \log \left (1+\frac {c}{x^2}\right )}{4 x^4}+\frac {b^2 \log \left (1-\frac {c}{x^2}\right ) \log \left (1+\frac {c}{x^2}\right )}{8 x^4}+\frac {b^2 \left (1+\frac {c}{x^2}\right ) \log ^2\left (1+\frac {c}{x^2}\right )}{8 c^2}-\frac {b^2 \left (1+\frac {c}{x^2}\right )^2 \log ^2\left (1+\frac {c}{x^2}\right )}{16 c^2}-\frac {b^2 \operatorname {Subst}\left (\int \log (x) \, dx,x,1-\frac {c}{x^2}\right )}{4 c^2}+\frac {1}{4} (a b c) \operatorname {Subst}\left (\int \left (-\frac {1}{c^2}+\frac {x}{c}+\frac {1}{c^2 (1+c x)}\right ) \, dx,x,\frac {1}{x^2}\right )+\frac {1}{8} \left (b^2 c\right ) \operatorname {Subst}\left (\int \left (\frac {\log \left (1-\frac {c}{x}\right )}{c x^3}-\frac {\log \left (1-\frac {c}{x}\right )}{c^2 x^2}+\frac {\log \left (1-\frac {c}{x}\right )}{c^3 x}-\frac {\log \left (1-\frac {c}{x}\right )}{c^3 (c+x)}\right ) \, dx,x,x^2\right )+\frac {1}{4} \left (b^2 c\right ) \operatorname {Subst}\left (\int \left (\frac {\log \left (1+\frac {c}{x}\right )}{2 c^3 (c-x)}+\frac {\log \left (1+\frac {c}{x}\right )}{2 c x^3}+\frac {\log \left (1+\frac {c}{x}\right )}{2 c^2 x^2}+\frac {\log \left (1+\frac {c}{x}\right )}{2 c^3 x}\right ) \, dx,x,x^2\right )\\ &=-\frac {b^2 \left (1-\frac {c}{x^2}\right )^2}{32 c^2}-\frac {b^2 \left (1+\frac {c}{x^2}\right )^2}{32 c^2}+\frac {a b}{8 x^4}-\frac {3 a b}{4 c x^2}-\frac {b^2 \left (1-\frac {c}{x^2}\right ) \log \left (1-\frac {c}{x^2}\right )}{4 c^2}-\frac {b \left (1-\frac {c}{x^2}\right )^2 \left (2 a-b \log \left (1-\frac {c}{x^2}\right )\right )}{16 c^2}+\frac {\left (1-\frac {c}{x^2}\right ) \left (2 a-b \log \left (1-\frac {c}{x^2}\right )\right )^2}{8 c^2}-\frac {\left (1-\frac {c}{x^2}\right )^2 \left (2 a-b \log \left (1-\frac {c}{x^2}\right )\right )^2}{16 c^2}+\frac {a b \log \left (1+\frac {c}{x^2}\right )}{4 c^2}-\frac {b^2 \left (1+\frac {c}{x^2}\right ) \log \left (1+\frac {c}{x^2}\right )}{4 c^2}+\frac {b^2 \left (1+\frac {c}{x^2}\right )^2 \log \left (1+\frac {c}{x^2}\right )}{16 c^2}-\frac {a b \log \left (1+\frac {c}{x^2}\right )}{4 x^4}+\frac {b^2 \log \left (1-\frac {c}{x^2}\right ) \log \left (1+\frac {c}{x^2}\right )}{8 x^4}+\frac {b^2 \left (1+\frac {c}{x^2}\right ) \log ^2\left (1+\frac {c}{x^2}\right )}{8 c^2}-\frac {b^2 \left (1+\frac {c}{x^2}\right )^2 \log ^2\left (1+\frac {c}{x^2}\right )}{16 c^2}+\frac {1}{8} b^2 \operatorname {Subst}\left (\int \frac {\log \left (1-\frac {c}{x}\right )}{x^3} \, dx,x,x^2\right )+\frac {1}{8} b^2 \operatorname {Subst}\left (\int \frac {\log \left (1+\frac {c}{x}\right )}{x^3} \, dx,x,x^2\right )+\frac {b^2 \operatorname {Subst}\left (\int \frac {\log \left (1-\frac {c}{x}\right )}{x} \, dx,x,x^2\right )}{8 c^2}-\frac {b^2 \operatorname {Subst}\left (\int \frac {\log \left (1-\frac {c}{x}\right )}{c+x} \, dx,x,x^2\right )}{8 c^2}+\frac {b^2 \operatorname {Subst}\left (\int \frac {\log \left (1+\frac {c}{x}\right )}{c-x} \, dx,x,x^2\right )}{8 c^2}+\frac {b^2 \operatorname {Subst}\left (\int \frac {\log \left (1+\frac {c}{x}\right )}{x} \, dx,x,x^2\right )}{8 c^2}-\frac {b^2 \operatorname {Subst}\left (\int \frac {\log \left (1-\frac {c}{x}\right )}{x^2} \, dx,x,x^2\right )}{8 c}+\frac {b^2 \operatorname {Subst}\left (\int \frac {\log \left (1+\frac {c}{x}\right )}{x^2} \, dx,x,x^2\right )}{8 c}\\ &=-\frac {b^2 \left (1-\frac {c}{x^2}\right )^2}{32 c^2}-\frac {b^2 \left (1+\frac {c}{x^2}\right )^2}{32 c^2}+\frac {a b}{8 x^4}-\frac {3 a b}{4 c x^2}-\frac {b^2 \left (1-\frac {c}{x^2}\right ) \log \left (1-\frac {c}{x^2}\right )}{4 c^2}-\frac {b \left (1-\frac {c}{x^2}\right )^2 \left (2 a-b \log \left (1-\frac {c}{x^2}\right )\right )}{16 c^2}+\frac {\left (1-\frac {c}{x^2}\right ) \left (2 a-b \log \left (1-\frac {c}{x^2}\right )\right )^2}{8 c^2}-\frac {\left (1-\frac {c}{x^2}\right )^2 \left (2 a-b \log \left (1-\frac {c}{x^2}\right )\right )^2}{16 c^2}+\frac {a b \log \left (1+\frac {c}{x^2}\right )}{4 c^2}-\frac {b^2 \left (1+\frac {c}{x^2}\right ) \log \left (1+\frac {c}{x^2}\right )}{4 c^2}+\frac {b^2 \left (1+\frac {c}{x^2}\right )^2 \log \left (1+\frac {c}{x^2}\right )}{16 c^2}-\frac {a b \log \left (1+\frac {c}{x^2}\right )}{4 x^4}+\frac {b^2 \log \left (1-\frac {c}{x^2}\right ) \log \left (1+\frac {c}{x^2}\right )}{8 x^4}+\frac {b^2 \left (1+\frac {c}{x^2}\right ) \log ^2\left (1+\frac {c}{x^2}\right )}{8 c^2}-\frac {b^2 \left (1+\frac {c}{x^2}\right )^2 \log ^2\left (1+\frac {c}{x^2}\right )}{16 c^2}-\frac {b^2 \log \left (1+\frac {c}{x^2}\right ) \log \left (c-x^2\right )}{8 c^2}-\frac {b^2 \log \left (1-\frac {c}{x^2}\right ) \log \left (c+x^2\right )}{8 c^2}+\frac {b^2 \text {Li}_2\left (-\frac {c}{x^2}\right )}{8 c^2}+\frac {b^2 \text {Li}_2\left (\frac {c}{x^2}\right )}{8 c^2}-\frac {1}{8} b^2 \operatorname {Subst}\left (\int x \log (1-c x) \, dx,x,\frac {1}{x^2}\right )-\frac {1}{8} b^2 \operatorname {Subst}\left (\int x \log (1+c x) \, dx,x,\frac {1}{x^2}\right )-\frac {b^2 \operatorname {Subst}\left (\int \frac {\log (c-x)}{\left (1+\frac {c}{x}\right ) x^2} \, dx,x,x^2\right )}{8 c}+\frac {b^2 \operatorname {Subst}\left (\int \frac {\log (c+x)}{\left (1-\frac {c}{x}\right ) x^2} \, dx,x,x^2\right )}{8 c}+\frac {b^2 \operatorname {Subst}\left (\int \log (1-c x) \, dx,x,\frac {1}{x^2}\right )}{8 c}-\frac {b^2 \operatorname {Subst}\left (\int \log (1+c x) \, dx,x,\frac {1}{x^2}\right )}{8 c}\\ &=-\frac {b^2 \left (1-\frac {c}{x^2}\right )^2}{32 c^2}-\frac {b^2 \left (1+\frac {c}{x^2}\right )^2}{32 c^2}+\frac {a b}{8 x^4}-\frac {3 a b}{4 c x^2}-\frac {b^2 \left (1-\frac {c}{x^2}\right ) \log \left (1-\frac {c}{x^2}\right )}{4 c^2}-\frac {b^2 \log \left (1-\frac {c}{x^2}\right )}{16 x^4}-\frac {b \left (1-\frac {c}{x^2}\right )^2 \left (2 a-b \log \left (1-\frac {c}{x^2}\right )\right )}{16 c^2}+\frac {\left (1-\frac {c}{x^2}\right ) \left (2 a-b \log \left (1-\frac {c}{x^2}\right )\right )^2}{8 c^2}-\frac {\left (1-\frac {c}{x^2}\right )^2 \left (2 a-b \log \left (1-\frac {c}{x^2}\right )\right )^2}{16 c^2}+\frac {a b \log \left (1+\frac {c}{x^2}\right )}{4 c^2}-\frac {b^2 \left (1+\frac {c}{x^2}\right ) \log \left (1+\frac {c}{x^2}\right )}{4 c^2}+\frac {b^2 \left (1+\frac {c}{x^2}\right )^2 \log \left (1+\frac {c}{x^2}\right )}{16 c^2}-\frac {a b \log \left (1+\frac {c}{x^2}\right )}{4 x^4}-\frac {b^2 \log \left (1+\frac {c}{x^2}\right )}{16 x^4}+\frac {b^2 \log \left (1-\frac {c}{x^2}\right ) \log \left (1+\frac {c}{x^2}\right )}{8 x^4}+\frac {b^2 \left (1+\frac {c}{x^2}\right ) \log ^2\left (1+\frac {c}{x^2}\right )}{8 c^2}-\frac {b^2 \left (1+\frac {c}{x^2}\right )^2 \log ^2\left (1+\frac {c}{x^2}\right )}{16 c^2}-\frac {b^2 \log \left (1+\frac {c}{x^2}\right ) \log \left (c-x^2\right )}{8 c^2}-\frac {b^2 \log \left (1-\frac {c}{x^2}\right ) \log \left (c+x^2\right )}{8 c^2}+\frac {b^2 \text {Li}_2\left (-\frac {c}{x^2}\right )}{8 c^2}+\frac {b^2 \text {Li}_2\left (\frac {c}{x^2}\right )}{8 c^2}-\frac {b^2 \operatorname {Subst}\left (\int \log (x) \, dx,x,1-\frac {c}{x^2}\right )}{8 c^2}-\frac {b^2 \operatorname {Subst}\left (\int \log (x) \, dx,x,1+\frac {c}{x^2}\right )}{8 c^2}-\frac {b^2 \operatorname {Subst}\left (\int \left (\frac {\log (c-x)}{c x}-\frac {\log (c-x)}{c (c+x)}\right ) \, dx,x,x^2\right )}{8 c}+\frac {b^2 \operatorname {Subst}\left (\int \left (-\frac {\log (c+x)}{c (c-x)}-\frac {\log (c+x)}{c x}\right ) \, dx,x,x^2\right )}{8 c}-\frac {1}{16} \left (b^2 c\right ) \operatorname {Subst}\left (\int \frac {x^2}{1-c x} \, dx,x,\frac {1}{x^2}\right )+\frac {1}{16} \left (b^2 c\right ) \operatorname {Subst}\left (\int \frac {x^2}{1+c x} \, dx,x,\frac {1}{x^2}\right )\\ &=-\frac {b^2 \left (1-\frac {c}{x^2}\right )^2}{32 c^2}-\frac {b^2 \left (1+\frac {c}{x^2}\right )^2}{32 c^2}+\frac {a b}{8 x^4}-\frac {3 a b}{4 c x^2}-\frac {3 b^2 \left (1-\frac {c}{x^2}\right ) \log \left (1-\frac {c}{x^2}\right )}{8 c^2}-\frac {b^2 \log \left (1-\frac {c}{x^2}\right )}{16 x^4}-\frac {b \left (1-\frac {c}{x^2}\right )^2 \left (2 a-b \log \left (1-\frac {c}{x^2}\right )\right )}{16 c^2}+\frac {\left (1-\frac {c}{x^2}\right ) \left (2 a-b \log \left (1-\frac {c}{x^2}\right )\right )^2}{8 c^2}-\frac {\left (1-\frac {c}{x^2}\right )^2 \left (2 a-b \log \left (1-\frac {c}{x^2}\right )\right )^2}{16 c^2}+\frac {a b \log \left (1+\frac {c}{x^2}\right )}{4 c^2}-\frac {3 b^2 \left (1+\frac {c}{x^2}\right ) \log \left (1+\frac {c}{x^2}\right )}{8 c^2}+\frac {b^2 \left (1+\frac {c}{x^2}\right )^2 \log \left (1+\frac {c}{x^2}\right )}{16 c^2}-\frac {a b \log \left (1+\frac {c}{x^2}\right )}{4 x^4}-\frac {b^2 \log \left (1+\frac {c}{x^2}\right )}{16 x^4}+\frac {b^2 \log \left (1-\frac {c}{x^2}\right ) \log \left (1+\frac {c}{x^2}\right )}{8 x^4}+\frac {b^2 \left (1+\frac {c}{x^2}\right ) \log ^2\left (1+\frac {c}{x^2}\right )}{8 c^2}-\frac {b^2 \left (1+\frac {c}{x^2}\right )^2 \log ^2\left (1+\frac {c}{x^2}\right )}{16 c^2}-\frac {b^2 \log \left (1+\frac {c}{x^2}\right ) \log \left (c-x^2\right )}{8 c^2}-\frac {b^2 \log \left (1-\frac {c}{x^2}\right ) \log \left (c+x^2\right )}{8 c^2}+\frac {b^2 \text {Li}_2\left (-\frac {c}{x^2}\right )}{8 c^2}+\frac {b^2 \text {Li}_2\left (\frac {c}{x^2}\right )}{8 c^2}-\frac {b^2 \operatorname {Subst}\left (\int \frac {\log (c-x)}{x} \, dx,x,x^2\right )}{8 c^2}+\frac {b^2 \operatorname {Subst}\left (\int \frac {\log (c-x)}{c+x} \, dx,x,x^2\right )}{8 c^2}-\frac {b^2 \operatorname {Subst}\left (\int \frac {\log (c+x)}{c-x} \, dx,x,x^2\right )}{8 c^2}-\frac {b^2 \operatorname {Subst}\left (\int \frac {\log (c+x)}{x} \, dx,x,x^2\right )}{8 c^2}-\frac {1}{16} \left (b^2 c\right ) \operatorname {Subst}\left (\int \left (-\frac {1}{c^2}-\frac {x}{c}-\frac {1}{c^2 (-1+c x)}\right ) \, dx,x,\frac {1}{x^2}\right )+\frac {1}{16} \left (b^2 c\right ) \operatorname {Subst}\left (\int \left (-\frac {1}{c^2}+\frac {x}{c}+\frac {1}{c^2 (1+c x)}\right ) \, dx,x,\frac {1}{x^2}\right )\\ &=-\frac {b^2 \left (1-\frac {c}{x^2}\right )^2}{32 c^2}-\frac {b^2 \left (1+\frac {c}{x^2}\right )^2}{32 c^2}+\frac {a b}{8 x^4}+\frac {b^2}{16 x^4}-\frac {3 a b}{4 c x^2}+\frac {b^2 \log \left (1-\frac {c}{x^2}\right )}{16 c^2}-\frac {3 b^2 \left (1-\frac {c}{x^2}\right ) \log \left (1-\frac {c}{x^2}\right )}{8 c^2}-\frac {b^2 \log \left (1-\frac {c}{x^2}\right )}{16 x^4}-\frac {b \left (1-\frac {c}{x^2}\right )^2 \left (2 a-b \log \left (1-\frac {c}{x^2}\right )\right )}{16 c^2}+\frac {\left (1-\frac {c}{x^2}\right ) \left (2 a-b \log \left (1-\frac {c}{x^2}\right )\right )^2}{8 c^2}-\frac {\left (1-\frac {c}{x^2}\right )^2 \left (2 a-b \log \left (1-\frac {c}{x^2}\right )\right )^2}{16 c^2}+\frac {a b \log \left (1+\frac {c}{x^2}\right )}{4 c^2}+\frac {b^2 \log \left (1+\frac {c}{x^2}\right )}{16 c^2}-\frac {3 b^2 \left (1+\frac {c}{x^2}\right ) \log \left (1+\frac {c}{x^2}\right )}{8 c^2}+\frac {b^2 \left (1+\frac {c}{x^2}\right )^2 \log \left (1+\frac {c}{x^2}\right )}{16 c^2}-\frac {a b \log \left (1+\frac {c}{x^2}\right )}{4 x^4}-\frac {b^2 \log \left (1+\frac {c}{x^2}\right )}{16 x^4}+\frac {b^2 \log \left (1-\frac {c}{x^2}\right ) \log \left (1+\frac {c}{x^2}\right )}{8 x^4}+\frac {b^2 \left (1+\frac {c}{x^2}\right ) \log ^2\left (1+\frac {c}{x^2}\right )}{8 c^2}-\frac {b^2 \left (1+\frac {c}{x^2}\right )^2 \log ^2\left (1+\frac {c}{x^2}\right )}{16 c^2}-\frac {b^2 \log \left (1+\frac {c}{x^2}\right ) \log \left (c-x^2\right )}{8 c^2}-\frac {b^2 \log \left (\frac {x^2}{c}\right ) \log \left (c-x^2\right )}{8 c^2}-\frac {b^2 \log \left (1-\frac {c}{x^2}\right ) \log \left (c+x^2\right )}{8 c^2}-\frac {b^2 \log \left (-\frac {x^2}{c}\right ) \log \left (c+x^2\right )}{8 c^2}+\frac {b^2 \log \left (\frac {c-x^2}{2 c}\right ) \log \left (c+x^2\right )}{8 c^2}+\frac {b^2 \log \left (c-x^2\right ) \log \left (\frac {c+x^2}{2 c}\right )}{8 c^2}+\frac {b^2 \text {Li}_2\left (-\frac {c}{x^2}\right )}{8 c^2}+\frac {b^2 \text {Li}_2\left (\frac {c}{x^2}\right )}{8 c^2}+\frac {b^2 \operatorname {Subst}\left (\int \frac {\log \left (-\frac {-c-x}{2 c}\right )}{c-x} \, dx,x,x^2\right )}{8 c^2}-\frac {b^2 \operatorname {Subst}\left (\int \frac {\log \left (\frac {c-x}{2 c}\right )}{c+x} \, dx,x,x^2\right )}{8 c^2}+\frac {b^2 \operatorname {Subst}\left (\int \frac {\log \left (-\frac {x}{c}\right )}{c+x} \, dx,x,x^2\right )}{8 c^2}-\frac {b^2 \operatorname {Subst}\left (\int \frac {\log \left (\frac {x}{c}\right )}{c-x} \, dx,x,x^2\right )}{8 c^2}\\ &=-\frac {b^2 \left (1-\frac {c}{x^2}\right )^2}{32 c^2}-\frac {b^2 \left (1+\frac {c}{x^2}\right )^2}{32 c^2}+\frac {a b}{8 x^4}+\frac {b^2}{16 x^4}-\frac {3 a b}{4 c x^2}+\frac {b^2 \log \left (1-\frac {c}{x^2}\right )}{16 c^2}-\frac {3 b^2 \left (1-\frac {c}{x^2}\right ) \log \left (1-\frac {c}{x^2}\right )}{8 c^2}-\frac {b^2 \log \left (1-\frac {c}{x^2}\right )}{16 x^4}-\frac {b \left (1-\frac {c}{x^2}\right )^2 \left (2 a-b \log \left (1-\frac {c}{x^2}\right )\right )}{16 c^2}+\frac {\left (1-\frac {c}{x^2}\right ) \left (2 a-b \log \left (1-\frac {c}{x^2}\right )\right )^2}{8 c^2}-\frac {\left (1-\frac {c}{x^2}\right )^2 \left (2 a-b \log \left (1-\frac {c}{x^2}\right )\right )^2}{16 c^2}+\frac {a b \log \left (1+\frac {c}{x^2}\right )}{4 c^2}+\frac {b^2 \log \left (1+\frac {c}{x^2}\right )}{16 c^2}-\frac {3 b^2 \left (1+\frac {c}{x^2}\right ) \log \left (1+\frac {c}{x^2}\right )}{8 c^2}+\frac {b^2 \left (1+\frac {c}{x^2}\right )^2 \log \left (1+\frac {c}{x^2}\right )}{16 c^2}-\frac {a b \log \left (1+\frac {c}{x^2}\right )}{4 x^4}-\frac {b^2 \log \left (1+\frac {c}{x^2}\right )}{16 x^4}+\frac {b^2 \log \left (1-\frac {c}{x^2}\right ) \log \left (1+\frac {c}{x^2}\right )}{8 x^4}+\frac {b^2 \left (1+\frac {c}{x^2}\right ) \log ^2\left (1+\frac {c}{x^2}\right )}{8 c^2}-\frac {b^2 \left (1+\frac {c}{x^2}\right )^2 \log ^2\left (1+\frac {c}{x^2}\right )}{16 c^2}-\frac {b^2 \log \left (1+\frac {c}{x^2}\right ) \log \left (c-x^2\right )}{8 c^2}-\frac {b^2 \log \left (\frac {x^2}{c}\right ) \log \left (c-x^2\right )}{8 c^2}-\frac {b^2 \log \left (1-\frac {c}{x^2}\right ) \log \left (c+x^2\right )}{8 c^2}-\frac {b^2 \log \left (-\frac {x^2}{c}\right ) \log \left (c+x^2\right )}{8 c^2}+\frac {b^2 \log \left (\frac {c-x^2}{2 c}\right ) \log \left (c+x^2\right )}{8 c^2}+\frac {b^2 \log \left (c-x^2\right ) \log \left (\frac {c+x^2}{2 c}\right )}{8 c^2}+\frac {b^2 \text {Li}_2\left (-\frac {c}{x^2}\right )}{8 c^2}+\frac {b^2 \text {Li}_2\left (\frac {c}{x^2}\right )}{8 c^2}-\frac {b^2 \text {Li}_2\left (\frac {c+x^2}{c}\right )}{8 c^2}-\frac {b^2 \text {Li}_2\left (1-\frac {x^2}{c}\right )}{8 c^2}-\frac {b^2 \operatorname {Subst}\left (\int \frac {\log \left (1-\frac {x}{2 c}\right )}{x} \, dx,x,c-x^2\right )}{8 c^2}-\frac {b^2 \operatorname {Subst}\left (\int \frac {\log \left (1-\frac {x}{2 c}\right )}{x} \, dx,x,c+x^2\right )}{8 c^2}\\ &=-\frac {b^2 \left (1-\frac {c}{x^2}\right )^2}{32 c^2}-\frac {b^2 \left (1+\frac {c}{x^2}\right )^2}{32 c^2}+\frac {a b}{8 x^4}+\frac {b^2}{16 x^4}-\frac {3 a b}{4 c x^2}+\frac {b^2 \log \left (1-\frac {c}{x^2}\right )}{16 c^2}-\frac {3 b^2 \left (1-\frac {c}{x^2}\right ) \log \left (1-\frac {c}{x^2}\right )}{8 c^2}-\frac {b^2 \log \left (1-\frac {c}{x^2}\right )}{16 x^4}-\frac {b \left (1-\frac {c}{x^2}\right )^2 \left (2 a-b \log \left (1-\frac {c}{x^2}\right )\right )}{16 c^2}+\frac {\left (1-\frac {c}{x^2}\right ) \left (2 a-b \log \left (1-\frac {c}{x^2}\right )\right )^2}{8 c^2}-\frac {\left (1-\frac {c}{x^2}\right )^2 \left (2 a-b \log \left (1-\frac {c}{x^2}\right )\right )^2}{16 c^2}+\frac {a b \log \left (1+\frac {c}{x^2}\right )}{4 c^2}+\frac {b^2 \log \left (1+\frac {c}{x^2}\right )}{16 c^2}-\frac {3 b^2 \left (1+\frac {c}{x^2}\right ) \log \left (1+\frac {c}{x^2}\right )}{8 c^2}+\frac {b^2 \left (1+\frac {c}{x^2}\right )^2 \log \left (1+\frac {c}{x^2}\right )}{16 c^2}-\frac {a b \log \left (1+\frac {c}{x^2}\right )}{4 x^4}-\frac {b^2 \log \left (1+\frac {c}{x^2}\right )}{16 x^4}+\frac {b^2 \log \left (1-\frac {c}{x^2}\right ) \log \left (1+\frac {c}{x^2}\right )}{8 x^4}+\frac {b^2 \left (1+\frac {c}{x^2}\right ) \log ^2\left (1+\frac {c}{x^2}\right )}{8 c^2}-\frac {b^2 \left (1+\frac {c}{x^2}\right )^2 \log ^2\left (1+\frac {c}{x^2}\right )}{16 c^2}-\frac {b^2 \log \left (1+\frac {c}{x^2}\right ) \log \left (c-x^2\right )}{8 c^2}-\frac {b^2 \log \left (\frac {x^2}{c}\right ) \log \left (c-x^2\right )}{8 c^2}-\frac {b^2 \log \left (1-\frac {c}{x^2}\right ) \log \left (c+x^2\right )}{8 c^2}-\frac {b^2 \log \left (-\frac {x^2}{c}\right ) \log \left (c+x^2\right )}{8 c^2}+\frac {b^2 \log \left (\frac {c-x^2}{2 c}\right ) \log \left (c+x^2\right )}{8 c^2}+\frac {b^2 \log \left (c-x^2\right ) \log \left (\frac {c+x^2}{2 c}\right )}{8 c^2}+\frac {b^2 \text {Li}_2\left (-\frac {c}{x^2}\right )}{8 c^2}+\frac {b^2 \text {Li}_2\left (\frac {c}{x^2}\right )}{8 c^2}+\frac {b^2 \text {Li}_2\left (\frac {c-x^2}{2 c}\right )}{8 c^2}+\frac {b^2 \text {Li}_2\left (\frac {c+x^2}{2 c}\right )}{8 c^2}-\frac {b^2 \text {Li}_2\left (\frac {c+x^2}{c}\right )}{8 c^2}-\frac {b^2 \text {Li}_2\left (1-\frac {x^2}{c}\right )}{8 c^2}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.08, size = 131, normalized size = 1.35 \[ -\frac {a^2 c^2+2 a b c x^2+2 b c \tanh ^{-1}\left (\frac {c}{x^2}\right ) \left (a c+b x^2\right )+a b x^4 \log \left (x^2-c\right )-a b x^4 \log \left (c+x^2\right )+b^2 \left (c^2-x^4\right ) \tanh ^{-1}\left (\frac {c}{x^2}\right )^2+b^2 x^4 \log \left (x^2-c\right )+b^2 x^4 \log \left (c+x^2\right )-4 b^2 x^4 \log (x)}{4 c^2 x^4} \]

Antiderivative was successfully verified.

[In]

Integrate[(a + b*ArcTanh[c/x^2])^2/x^5,x]

[Out]

-1/4*(a^2*c^2 + 2*a*b*c*x^2 + 2*b*c*(a*c + b*x^2)*ArcTanh[c/x^2] + b^2*(c^2 - x^4)*ArcTanh[c/x^2]^2 - 4*b^2*x^
4*Log[x] + a*b*x^4*Log[-c + x^2] + b^2*x^4*Log[-c + x^2] - a*b*x^4*Log[c + x^2] + b^2*x^4*Log[c + x^2])/(c^2*x
^4)

________________________________________________________________________________________

fricas [A]  time = 0.50, size = 143, normalized size = 1.47 \[ \frac {16 \, b^{2} x^{4} \log \relax (x) + 4 \, {\left (a b - b^{2}\right )} x^{4} \log \left (x^{2} + c\right ) - 4 \, {\left (a b + b^{2}\right )} x^{4} \log \left (x^{2} - c\right ) - 8 \, a b c x^{2} - 4 \, a^{2} c^{2} + {\left (b^{2} x^{4} - b^{2} c^{2}\right )} \log \left (\frac {x^{2} + c}{x^{2} - c}\right )^{2} - 4 \, {\left (b^{2} c x^{2} + a b c^{2}\right )} \log \left (\frac {x^{2} + c}{x^{2} - c}\right )}{16 \, c^{2} x^{4}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*arctanh(c/x^2))^2/x^5,x, algorithm="fricas")

[Out]

1/16*(16*b^2*x^4*log(x) + 4*(a*b - b^2)*x^4*log(x^2 + c) - 4*(a*b + b^2)*x^4*log(x^2 - c) - 8*a*b*c*x^2 - 4*a^
2*c^2 + (b^2*x^4 - b^2*c^2)*log((x^2 + c)/(x^2 - c))^2 - 4*(b^2*c*x^2 + a*b*c^2)*log((x^2 + c)/(x^2 - c)))/(c^
2*x^4)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (b \operatorname {artanh}\left (\frac {c}{x^{2}}\right ) + a\right )}^{2}}{x^{5}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*arctanh(c/x^2))^2/x^5,x, algorithm="giac")

[Out]

integrate((b*arctanh(c/x^2) + a)^2/x^5, x)

________________________________________________________________________________________

maple [F(-1)]  time = 180.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (a +b \arctanh \left (\frac {c}{x^{2}}\right )\right )^{2}}{x^{5}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a+b*arctanh(c/x^2))^2/x^5,x)

[Out]

int((a+b*arctanh(c/x^2))^2/x^5,x)

________________________________________________________________________________________

maxima [B]  time = 0.33, size = 183, normalized size = 1.89 \[ \frac {1}{4} \, {\left (c {\left (\frac {\log \left (x^{2} + c\right )}{c^{3}} - \frac {\log \left (x^{2} - c\right )}{c^{3}} - \frac {2}{c^{2} x^{2}}\right )} - \frac {2 \, \operatorname {artanh}\left (\frac {c}{x^{2}}\right )}{x^{4}}\right )} a b - \frac {1}{16} \, {\left (c^{2} {\left (\frac {\log \left (x^{2} + c\right )^{2} - 2 \, {\left (\log \left (x^{2} + c\right ) - 2\right )} \log \left (x^{2} - c\right ) + \log \left (x^{2} - c\right )^{2} + 4 \, \log \left (x^{2} + c\right )}{c^{4}} - \frac {16 \, \log \relax (x)}{c^{4}}\right )} - 4 \, c {\left (\frac {\log \left (x^{2} + c\right )}{c^{3}} - \frac {\log \left (x^{2} - c\right )}{c^{3}} - \frac {2}{c^{2} x^{2}}\right )} \operatorname {artanh}\left (\frac {c}{x^{2}}\right )\right )} b^{2} - \frac {b^{2} \operatorname {artanh}\left (\frac {c}{x^{2}}\right )^{2}}{4 \, x^{4}} - \frac {a^{2}}{4 \, x^{4}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*arctanh(c/x^2))^2/x^5,x, algorithm="maxima")

[Out]

1/4*(c*(log(x^2 + c)/c^3 - log(x^2 - c)/c^3 - 2/(c^2*x^2)) - 2*arctanh(c/x^2)/x^4)*a*b - 1/16*(c^2*((log(x^2 +
 c)^2 - 2*(log(x^2 + c) - 2)*log(x^2 - c) + log(x^2 - c)^2 + 4*log(x^2 + c))/c^4 - 16*log(x)/c^4) - 4*c*(log(x
^2 + c)/c^3 - log(x^2 - c)/c^3 - 2/(c^2*x^2))*arctanh(c/x^2))*b^2 - 1/4*b^2*arctanh(c/x^2)^2/x^4 - 1/4*a^2/x^4

________________________________________________________________________________________

mupad [B]  time = 1.54, size = 262, normalized size = 2.70 \[ \frac {b^2\,{\ln \left (x^2+c\right )}^2}{16\,c^2}-\frac {b^2\,\ln \left (x^2-c\right )}{4\,c^2}-\frac {a^2}{4\,x^4}-\frac {b^2\,{\ln \left (x^2+c\right )}^2}{16\,x^4}+\frac {b^2\,{\ln \left (x^2-c\right )}^2}{16\,c^2}-\frac {b^2\,{\ln \left (x^2-c\right )}^2}{16\,x^4}+\frac {b^2\,\ln \relax (x)}{c^2}-\frac {b^2\,\ln \left (x^2+c\right )}{4\,c^2}-\frac {a\,b\,\ln \left (x^2+c\right )}{4\,x^4}+\frac {b^2\,\ln \left (x^2-c\right )}{4\,c\,x^2}-\frac {a\,b\,\ln \left (x^2-c\right )}{4\,c^2}-\frac {b^2\,\ln \left (x^2+c\right )\,\ln \left (x^2-c\right )}{8\,c^2}+\frac {a\,b\,\ln \left (x^2-c\right )}{4\,x^4}+\frac {b^2\,\ln \left (x^2+c\right )\,\ln \left (x^2-c\right )}{8\,x^4}-\frac {a\,b}{2\,c\,x^2}-\frac {b^2\,\ln \left (x^2+c\right )}{4\,c\,x^2}+\frac {a\,b\,\ln \left (x^2+c\right )}{4\,c^2} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b*atanh(c/x^2))^2/x^5,x)

[Out]

(b^2*log(c + x^2)^2)/(16*c^2) - (b^2*log(x^2 - c))/(4*c^2) - a^2/(4*x^4) - (b^2*log(c + x^2)^2)/(16*x^4) + (b^
2*log(x^2 - c)^2)/(16*c^2) - (b^2*log(x^2 - c)^2)/(16*x^4) + (b^2*log(x))/c^2 - (b^2*log(c + x^2))/(4*c^2) - (
a*b*log(c + x^2))/(4*x^4) + (b^2*log(x^2 - c))/(4*c*x^2) - (a*b*log(x^2 - c))/(4*c^2) - (b^2*log(c + x^2)*log(
x^2 - c))/(8*c^2) + (a*b*log(x^2 - c))/(4*x^4) + (b^2*log(c + x^2)*log(x^2 - c))/(8*x^4) - (a*b)/(2*c*x^2) - (
b^2*log(c + x^2))/(4*c*x^2) + (a*b*log(c + x^2))/(4*c^2)

________________________________________________________________________________________

sympy [A]  time = 16.63, size = 172, normalized size = 1.77 \[ \begin {cases} - \frac {a^{2}}{4 x^{4}} - \frac {a b \operatorname {atanh}{\left (\frac {c}{x^{2}} \right )}}{2 x^{4}} - \frac {a b}{2 c x^{2}} + \frac {a b \operatorname {atanh}{\left (\frac {c}{x^{2}} \right )}}{2 c^{2}} - \frac {b^{2} \operatorname {atanh}^{2}{\left (\frac {c}{x^{2}} \right )}}{4 x^{4}} - \frac {b^{2} \operatorname {atanh}{\left (\frac {c}{x^{2}} \right )}}{2 c x^{2}} + \frac {b^{2} \log {\relax (x )}}{c^{2}} - \frac {b^{2} \log {\left (- i \sqrt {c} + x \right )}}{2 c^{2}} - \frac {b^{2} \log {\left (i \sqrt {c} + x \right )}}{2 c^{2}} + \frac {b^{2} \operatorname {atanh}^{2}{\left (\frac {c}{x^{2}} \right )}}{4 c^{2}} + \frac {b^{2} \operatorname {atanh}{\left (\frac {c}{x^{2}} \right )}}{2 c^{2}} & \text {for}\: c \neq 0 \\- \frac {a^{2}}{4 x^{4}} & \text {otherwise} \end {cases} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*atanh(c/x**2))**2/x**5,x)

[Out]

Piecewise((-a**2/(4*x**4) - a*b*atanh(c/x**2)/(2*x**4) - a*b/(2*c*x**2) + a*b*atanh(c/x**2)/(2*c**2) - b**2*at
anh(c/x**2)**2/(4*x**4) - b**2*atanh(c/x**2)/(2*c*x**2) + b**2*log(x)/c**2 - b**2*log(-I*sqrt(c) + x)/(2*c**2)
 - b**2*log(I*sqrt(c) + x)/(2*c**2) + b**2*atanh(c/x**2)**2/(4*c**2) + b**2*atanh(c/x**2)/(2*c**2), Ne(c, 0)),
 (-a**2/(4*x**4), True))

________________________________________________________________________________________